package com.hzg.ssm.mapper;

import com.hzg.ssm.domain.Employee;
import com.hzg.ssm.query.QueryObject;

import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Employee record);

    Employee selectByPrimaryKey(Long id);

    List<Employee> selectAll();

    int updateByPrimaryKey(Employee record);

    List<Employee> queryList(QueryObject queryObject);

    int queryCount(QueryObject queryObject);
}